package com.rtx.edi.model.api.bo;

import com.rtx.edi.model.apibaseinfo.po.PlApibaseinfo;
import com.rtx.edi.model.express.po.PlExpressApiConfig;
import com.rtx.edi.model.field.po.PlFieldMapping;
import com.rtx.edi.model.log.po.PlApiRequestContentLog;
import com.rtx.edi.model.log.po.PlApiRequestLog;

public class ApiMappingInfoBo {
    private Long companyId;//公司ID
    private Long apiMappingId;//业务场景ID
    private String apiMappingName;//业务场景名称
    private Long requestCompanyId;//请求公司ID
    private String requestCompanyName;//请求公司名称
    private Long requestApplicationId;//请求应用ID
    private String requestApplicationName;//请求应用名称
    private Long requestEnvironmentId;//请求应用环境ID
    private String requestEnvironmentName;//请求应用环境名称
    private Long responseCompanyId;//接收公司ID
    private String responseCompanyName;//接收公司名称
    private Long responseApplicationId;//接收应用ID
    private String responseApplicationName;//接收应用名称
    private Long responseEnvironmentId;//接收应用环境ID
    private String responseEnvironmentName;//接收应用环境名称
    private String sourceUrl;//源地址
    private String targetUrl;//请求地址
    private String targetJsonTemplate;//目标请求模板
    private String sourceJsonType;//源请求json类型 object/array
    private String targetJsonType;//目标json类型 object/array
    private String ediInInterceptorName;//执行代码名称
    private String apimappingcode;//映射编码
    
    private String targetapiid;//目标apiid
    
    private String preconfig;//预处理逻辑配置
    
    private String typemapping;//类型匹配
    
    private String logkey;//记录日志关键字段
    private String activeTarget;//生效目标
    
    private boolean skipmapping;//跳过映射
    
    
    //针对调度任务
    private String activewhseid;//生效仓库
    
    private PlFieldMapping plFieldMapping;
    private PlExpressApiConfig expressconfig;//快递接口配置信息
    private PlApiRequestLog log;
    private PlApiRequestContentLog content;
    
    
    
    
	public ApiMappingInfoBo() {
		super();
		this.skipmapping = false;
	}
	
	public boolean isSkipmapping() {
		return skipmapping;
	}


	public void setSkipmapping(boolean skipmapping) {
		this.skipmapping = skipmapping;
	}


	public String getTargetapiid() {
		return targetapiid;
	}
	public void setTargetapiid(String targetapiid) {
		this.targetapiid = targetapiid;
	}
	public PlExpressApiConfig getExpressconfig() {
		return expressconfig;
	}
	public void setExpressconfig(PlExpressApiConfig expressconfig) {
		this.expressconfig = expressconfig;
	}
	public PlFieldMapping getPlFieldMapping() {
		return plFieldMapping;
	}
	public void setPlFieldMapping(PlFieldMapping plFieldMapping) {
		this.plFieldMapping = plFieldMapping;
	}
	public String getActivewhseid() {
		return activewhseid;
	}
	public void setActivewhseid(String activewhseid) {
		this.activewhseid = activewhseid;
	}
	public String getApimappingcode() {
		return apimappingcode;
	}
	public void setApimappingcode(String apimappingcode) {
		this.apimappingcode = apimappingcode;
	}
	public PlApiRequestLog getLog() {
		return log;
	}
	public void setLog(PlApiRequestLog log) {
		this.log = log;
	}
	public PlApiRequestContentLog getContent() {
		return content;
	}
	public void setContent(PlApiRequestContentLog content) {
		this.content = content;
	}
	public String getTypemapping() {
		return typemapping;
	}
	public void setTypemapping(String typemapping) {
		this.typemapping = typemapping;
	}

	private PlApibaseinfo targetApi;

    
    public String getPreconfig() {
		return preconfig;
	}

	public void setPreconfig(String preconfig) {
		this.preconfig = preconfig;
	}

	public PlApibaseinfo getTargetApi() {
		return targetApi;
	}

	public void setTargetApi(PlApibaseinfo targetApi) {
		this.targetApi = targetApi;
	}

	public String getActiveTarget() {
		return activeTarget;
	}

	public void setActiveTarget(String activeTarget) {
		this.activeTarget = activeTarget;
	}

	public String getEdiInInterceptorName() {
		return ediInInterceptorName;
	}

	public void setEdiInInterceptorName(String ediInInterceptorName) {
		this.ediInInterceptorName = ediInInterceptorName;
	}

	public String getLogkey() {
		return logkey;
	}

	public void setLogkey(String logkey) {
		this.logkey = logkey;
	}

	public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getApiMappingId() {
        return apiMappingId;
    }

    public void setApiMappingId(Long apiMappingId) {
        this.apiMappingId = apiMappingId;
    }

    public String getApiMappingName() {
        return apiMappingName;
    }

    public void setApiMappingName(String apiMappingName) {
        this.apiMappingName = apiMappingName;
    }

    public Long getRequestCompanyId() {
        return requestCompanyId;
    }

    public void setRequestCompanyId(Long requestCompanyId) {
        this.requestCompanyId = requestCompanyId;
    }

    public String getRequestCompanyName() {
        return requestCompanyName;
    }

    public void setRequestCompanyName(String requestCompanyName) {
        this.requestCompanyName = requestCompanyName;
    }

    public Long getRequestApplicationId() {
        return requestApplicationId;
    }

    public void setRequestApplicationId(Long requestApplicationId) {
        this.requestApplicationId = requestApplicationId;
    }

    public String getRequestApplicationName() {
        return requestApplicationName;
    }

    public void setRequestApplicationName(String requestApplicationName) {
        this.requestApplicationName = requestApplicationName;
    }

    public Long getRequestEnvironmentId() {
        return requestEnvironmentId;
    }

    public void setRequestEnvironmentId(Long requestEnvironmentId) {
        this.requestEnvironmentId = requestEnvironmentId;
    }

    public String getRequestEnvironmentName() {
        return requestEnvironmentName;
    }

    public void setRequestEnvironmentName(String requestEnvironmentName) {
        this.requestEnvironmentName = requestEnvironmentName;
    }

    public Long getResponseCompanyId() {
        return responseCompanyId;
    }

    public void setResponseCompanyId(Long responseCompanyId) {
        this.responseCompanyId = responseCompanyId;
    }

    public String getResponseCompanyName() {
        return responseCompanyName;
    }

    public void setResponseCompanyName(String responseCompanyName) {
        this.responseCompanyName = responseCompanyName;
    }

    public Long getResponseApplicationId() {
        return responseApplicationId;
    }

    public void setResponseApplicationId(Long responseApplicationId) {
        this.responseApplicationId = responseApplicationId;
    }

    public String getResponseApplicationName() {
        return responseApplicationName;
    }

    public void setResponseApplicationName(String responseApplicationName) {
        this.responseApplicationName = responseApplicationName;
    }

    public Long getResponseEnvironmentId() {
        return responseEnvironmentId;
    }

    public void setResponseEnvironmentId(Long responseEnvironmentId) {
        this.responseEnvironmentId = responseEnvironmentId;
    }

    public String getResponseEnvironmentName() {
        return responseEnvironmentName;
    }

    public void setResponseEnvironmentName(String responseEnvironmentName) {
        this.responseEnvironmentName = responseEnvironmentName;
    }

    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public String getSourceJsonType() {
        return sourceJsonType;
    }

    public void setSourceJsonType(String sourceJsonType) {
        this.sourceJsonType = sourceJsonType;
    }

    public String getTargetJsonType() {
        return targetJsonType;
    }

    public void setTargetJsonType(String targetJsonType) {
        this.targetJsonType = targetJsonType;
    }

    public String getTargetJsonTemplate() {
        return targetJsonTemplate;
    }

    public void setTargetJsonTemplate(String targetJsonTemplate) {
        this.targetJsonTemplate = targetJsonTemplate;
    }
}
